package henu.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class NowDate {
	private static String nowTime = null;
	public static String getNowTime(){
		 //当前时间
        Date now = new Date(); 
    	SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");//可以方便地修改日期格式 
    	nowTime = dateFormat.format( now );
    	return nowTime;
	}
}
